/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package lolbuilder.Champions.Impl;

import java.util.ArrayList;
import lolbuilder.Champions.Interf.DummyChamp;
import lolbuilder.Champions.Interf.Spell;

/**
 *
 * @author maximveron
 */
public class Caster extends DummyChamp {
    
    public Caster() {
        name="caster";
        ad=80;
        ap=0;
        hp=2300;
        rm=40;
        arm=60;
        mana=1000;
        cdr=0;
        ls=0;
        sv=0;
        regenhp=5;
        armpen=0;
        armpenPer=0;
        as=(float) 0.6;
        ms=310;
        critD=200;
        critP=0;
        this.setSpells();
    }

    @Override
    public void resetStats() {
        super.resetStats();
        ad=80;
        ap=0;
        hp=2300;
        rm=40;
        arm=60;
        mana=1000;
        cdr=0;
        ls=0;
        sv=0;
        regenhp=5;
        armpen=0;
        armpenPer=0;
        as=(float) 0.6;
        ms=310;
        critD=200;
        critP=0;
        setSpells();
    }

    @Override
    public void setSpells() {
        spells=new ArrayList<Spell>();
        Spell one=new Spell();
        Spell two=new Spell();
        Spell three=new Spell();
        Spell four=new Spell();
        spells.add(one);spells.add(two);spells.add(three);spells.add(four);
        
        one.setBaseDmg(230);
        two.setBaseDmg(220);
        three.setBaseDmg(300);
        four.setBaseDmg(220);
        
        one.setIsMgcDmg(true);
        two.setIsMgcDmg(true);
        three.setIsMgcDmg(true);
        four.setIsMgcDmg(true);
        
        one.setHasAdRatio(false);
        two.setHasAdRatio(false);
        three.setHasAdRatio(false);
        four.setHasAdRatio(false);
        
        one.setHasApRatio(true);
        two.setHasApRatio(true);
        three.setHasApRatio(true);
        four.setHasApRatio(true);
        
        one.setApRatio(0.6);
        two.setApRatio(0.6);
        three.setApRatio(0.5);
        four.setApRatio(0.7);
        
        
        one.setCd(6);
        two.setCd(3);
        three.setCd(10);
        four.setCd(2);
        
    }
}
